package com.snow4cloud.snow.admin.controller;

import com.snow4cloud.common.core.util.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description
 * @Author fanxl
 * @Date 2021/5/6
 **/
@RestController
@RequestMapping("/admin")
public class AdminController {

    @GetMapping("/{id}")
    public R getById(@PathVariable Integer id) {
        return R.ok(id);
    }
}
